title: Google API Bug - Attribution Inconsistency
body: <p>Fetching photo data for a place using <code>Google Places API</code> HTTP web service call URL,</p>
  <p><code>https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=&lt;LOCATION&gt;&amp;radius=&lt;RADIUS&gt;&amp;sensor=false&amp;key=&lt;API_KEY&gt;</code></p>
  <p>yields the expected callback. Here is the response from a request I am using for testing.</p>
  <pre><code>2017-09-19 11:20:32.968347-0400 &lt;MY_APP_NAME&gt;[7502:2809094] Places Found: (
          {
          ... 
          ...
          photos =         (
                          {
                  height = 5312;
                  &quot;html_attributions&quot; =                 (
                      &quot;&lt;a href=\&quot;https://maps.google.com/maps/contrib/110407035205544174409/photos\&quot;&gt;leah steen&lt;/a&gt;&quot;
                  );
                  &quot;photo_reference&quot; = &quot;CmRaAAAAcppPDrYGBnLqlyYQ_EMmsvgKXXpVjp0drGkJPWLBwlSzrWzuhtFFGCzQPl1pSez92QVktthtaMSsV1IlAWMIMPboycElhruKgUg-KFHWWrhLKOR6h8GGiR349rhokAFJEhApc7ghYIH0guUQBGJi1bKBGhQMcElN7-lSBzvCgAG3vVzANLkf6A&quot;;
                  width = 2988;
              }
          );
          ...
          ...
      }
  )
  </code></pre>
  <p>As you can see, this place has a photo dictionary containing an <code>html_attributions</code> value for the associated image, which I am handling appropriately throughout my application.</p>
  <h3>ISSUE:</h3>
  <p>When I fetch the photo data for the same place, by using the place_id, I get this for the photo and attribution:</p>
  <pre><code>2017-09-19 11:22:08.548253-0400 &lt;MY_APP_NAME&gt;[7502:2809094] photo data: (
      &quot;&lt;UIImage: 0x17048b720&gt; size {169, 300} orientation 0 scale 2.000000&quot;,
      &quot;leah steen{\n}&quot;
  )
  </code></pre>
  <p>I receive of course the same photo, <strong>but an attribution WITHOUT a link</strong>. As you can see from my other method using the web service, the photo for this place <strong>does indeed</strong> have an attribution <strong>with</strong> a link.</p>
  <p>I am at a loss. How am I supposed to get the full attribution from Google if their iOS SDK does not return the same data?</p>
  <h3>CODE:</h3>
  <p>Using Google's <em>other</em> suggested method for fetching photo data for a place via the <code>place_id</code> you can obtain the image and the images attribution (if it has one).</p>
  <p>I fetch the data using these two methods as Google asks:</p>
  <pre><code>- (void)lookUpPhotosForPlaceID:(NSString *)placeID
                        callback:(GMSPlacePhotoMetadataResultCallback)callback;
  
  - (void)loadPlacePhoto:(GMSPlacePhotoMetadata *)photo
                callback:(GMSPlacePhotoImageResultCallback)callback;
  </code></pre>
  <p>Here is the code I use for fetching the photo data.</p>
  <pre><code>// Look up photos for the place
  [[GMSPlacesClient sharedClient] lookUpPhotosForPlaceID:placeID callback:^(GMSPlacePhotoMetadataList * _Nullable photos, NSError * _Nullable error) {
      
      if (error != nil) {
          response(error, NULL);
          return;
      }
      
      if (photos.results.count &gt; 0) {
          
          GMSPlacePhotoMetadata *metaData = photos.results.firstObject;   // Using the first photo
          
          // Load the photo
          [[GMSPlacesClient sharedClient] loadPlacePhoto:metaData constrainedToSize:&lt;SOME_SIZE&gt; scale:[UIApplication sharedApplication].keyWindow.screen.scale callback:^(UIImage * _Nullable photo, NSError * _Nullable error) {
              
              if (error) {
                  response(error, NULL);
                  return;
              }
              
              NSArray *photoData = @[photo, metaData.attributions];
              
              response(nil, photoData);
              
          }];
          
      }
      else response(error, NULL);
      
  }];
  </code></pre>
  <p><strong>EDIT:</strong></p>
  <p>For reference, as Google <em>does</em> inform it's users that this data may be subject to change, and that multiple callbacks <em>should</em> return the same data. Yet multiple calls using different API's do not...</p>